home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
rjs.lha
/
RJS
/
Transport
/
tests
/
makefile
< prev
next >
Wrap
Makefile
|
1991-06-14
|
537b
|
39 lines
#
#
# Makefile
#
CC=CC
YFLAGS = -d
.SUFFIXES: .o .c .y .l .s .C
#
PROG=qtest
#
# C++ rules
#
.C.o:
$(CC) $(CFLAGS) -c $*.C
.C.a:
$(CC) -c $(CFLAGS) $<
ar rv $@ $*.o
rm -f $*.o
#
#
RJSROOT=../..
RJSDIR=$(RJSROOT)/RJS
#LDFLAGS = -L$(RJSDIR)/$(MACHINE) -lRJS -lString -ldnet
LDFLAGS = $(RJSDIR)/$(MACHINE)/libRJS.a $(RJSDIR)/$(MACHINE)/libString.a -ldnet
CFLAGS = -I$(RJSROOT) $(LDFLAGS)
#
# start of programs
#
$(MACHINE)/$(PROG) : $(PROG).o $(RLIB)
CC -o $(MACHINE)/$(PROG) $(PROG).o $(CFLAGS)
clean:
rm -f *.o mips/* vax/*